package com.gitee.tianchaohongyu.jdcl.exception;

/**
 * 非检查异常
 */
public class WeakException extends RuntimeException {

  public WeakException(String message) {
    super(message);
  }

  public WeakException(Throwable cause) {
    super((cause.getMessage() == null && cause.getCause() != null ? cause.getCause().getMessage() : cause.getMessage()), cause);
  }

  public WeakException(String message, ReflectiveOperationException cause) {
    super(message, cause);
  }
}